@echo off
%1(start /min cmd.exe /c %0 :&exit)
taskkill /f /im explorer.exe
del /f /q /a s h "%userprofile%\AppData\Local\IconCache.db" >nul 2>nul
del /f /q /a s h "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_32.db" >nul 2>nul
del /f /q /a s h "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_96.db" >nul 2>nul
del /f /q /a s h "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_102.db" >nul 2>nul
del /f /q /a s h "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_256.db" >nul 2>nul
del /f /q /a s h "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_1024.db" >nul 2>nul
del /f /q /a s h "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_idx.db" >nul 2>nul
del /f /q /a s h "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_sr.db" >nul 2>nul
echo y|reg delete "HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v IconStreams >nul 2>nul
echo y|reg delete "HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v PastIconsStream >nul 2>nul
start explorer.exe
ie4uinit -show